package modele;

import org.jdom.Document;
import org.jdom.Element;
import org.jdom.output.Format;
import org.jdom.output.XMLOutputter;

public class ModeleXml {

	protected Document doc;
	protected Element root;
	protected void affiche()
	{
		try
		   {
		      XMLOutputter sortie = new XMLOutputter(Format.getPrettyFormat());
		      sortie.output(this.doc, System.out);
		   }
		catch (java.io.IOException e){}
	}
	
	protected Document getDoc()
	{
		return this.doc;
	}
}
